<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

/* Route::get('think', function () {
    return 'hello,ThinkPHP5!';
}); */

Route::rule('/','index/index/index');
Route::rule('index','index/index/index');
//文章详情
Route::rule('article/:id','index/article/index')->ext('html');
//文章列表
Route::rule('article_list','index/index/getArticle')->ext('html');
//关于我
Route::rule('about','index/about/index')->ext('html');
//评论
Route::rule('toeval','index/article/toEval')->ext('html');
//分页获取评论
Route::rule('moreeval','index/article/getMoreEval')->ext('html');
//留言
Route::rule('message','index/index/message')->ext('html');
return [
];
